package com.supostacks.infrastructure.po;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResourceInfo extends Base implements Serializable {

    private String subject;
    private String content;
    private String type;
    private String url;
    private String getCount;
    private String categoryId;
    private byte[] coverImage;
    private String status;
    private Boolean isList;

    @TableField(exist = false)
    private String categoryName;
}
